package study;
public class Student extends Jicheng{
    private String name;
    private String num;
    private String age;
    private String address;
    //构造方法
    public Student() {}
    public Student(String name,String num,String age,String address) {
        //this.address =address;
        this.age = age;
        this.name = name;
        this.num = num;
    }
    //set get  方法

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getAge() {
        return age;
    }

    public void setNum(String num) {
        this.num =num;
    }
    public String getNum() {
        return num;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public String getAddress() {
        return address;
    }
}
